package cn.gxufe.reliable.message.producer;

import cn.gxufe.reliable.message.api.config.RMSApiConfigForProducer;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.Import;

/**
 * @author yingjie.rong
 **/
@SpringBootApplication
@Import(RMSApiConfigForProducer.class)
@EnableFeignClients
@EnableEurekaClient
@EnableDiscoveryClient
public class ProducerApplication {
    public static void main(String[] args) {
        SpringApplication.run(ProducerApplication.class,args);
    }
}
